﻿//-----------------------------------------------------------------------------------------
// <copyright file="Recording.cs" company="Jakub Florczyk (www.jakubflorczyk.pl)">
//      Copyright © 2009 Jakub Florczyk (www.jakubflorczyk.pl)
//      http://blipnet.codeplex.com/
// </copyright>
//-----------------------------------------------------------------------------------------

namespace BlipNet
{
    using System;
    using Newtonsoft.Json;

    /// <summary>
    /// Nagranie serwisu.
    /// </summary>    
    public class Recording
    {
        /// <summary>
        /// Identyfikator nagrania.
        /// </summary>
        [JsonProperty("id")]
        public int Id { get; set; }

        /// <summary>
        /// Adres nagrania.
        /// </summary>
        [JsonProperty("url")]
        [JsonConverter(typeof(UriConverter))]
        public Uri Url { get; set; }
    }
}
